package LayoutStudy;

import javax.swing.*;

public class LayoutStudy {
    public static void main(String[] args) {
        MyFame2 myFame = new MyFame2("java-swing");
        myFame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        myFame.setSize(400,300);
        myFame.setVisible(true);
    }
}
